home *** CD-ROM | disk | FTP | other *** search
- UNMOVIE is a program which takes a "movie" which was constructed using "dilbm"
- and "pilbm" and turns it back into the sequence of standard IFF frames from
- which the movie was originally created. I wrote it because a lot of the movies
- I created years ago were lost to me because "movie" won't run under 2.0. If
- "movie" can display an animation, "unmovie" can take it apart.
-
- To see how to invoke it, try running it without parameters.
-
- The guy who wrote "dilbm", "pilbm", and "movie" never documented his internal
- format, but I figured it out by experimentation.
-
- The first major portion of the FORM is a standard IFF of the first frame of the
- animation. The rest consists of DLTA's, which are created by "dilbm" and
- describe the difference between two IFF's. A DLTA appears to have three kinds
- of items in it, with each type being indicated by the value of its first byte:
-
-
- Type 0: indicates the end of the DLTA. Layout:
- word: 0
-
- Type 1: indicates a "wall": This is a section of the image which has full
- Z-height, is 1 byte wide in X, and has a variable Y size. Layout:
- word: 1
- word: 0=unidirectional (store value), 1=bidirectional (XOR value)
- word: Y-size (number of pixels in Y direction)
- word: number of blocks to follow:
- per block:
- word: offset in each bitplane (note: NOT in the total image!)
- 1-6 bytes: full Z height for first Y
- 1-6 bytes: full Z height for second Y
- etc., extending DOWN.
-
- Type 2: indicates a "pile": This is a section of the image which has full
- Z-height, and has both variable Y size and X size. Layout:
- word: 2
- word: 0=unidirectional, 1=bidirectional
- word: Y size
- word: X size
- word: number of blocks to follow:
- per block:
- word: offset in each bitplane (NOT in the total image)
- successive bytes: a traversed 3D rectangle, with X varying within
- Y within Z. (X moves right, Z moves up, Y moves down)
-
- The movie is double-buffered, but you don't have to know about that part.
- (Anyway, it is described in the original documentation for "pilbm" if you're
- curious.
-
-
- "unmovie" is freely redistributable. It isn't blazingly fast, but then, it
- really doesn't need to be.
-
- Steven Den Beste
- denbeste@world.std.com
-